package com.atwy.order.service;

import io.seata.rm.tcc.api.BusinessActionContext;

public interface OrderService {

    boolean prepare(BusinessActionContext businessActionContext,String userId, String commodityCode, int count);

    boolean commit(BusinessActionContext businessActionContext);

    boolean rollback(BusinessActionContext businessActionContext);
}
